﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.views {
    import flash.display.*;
    import net.wooga.pets.views.components.*;
    import net.wooga.pets.utils.*;

    public class LetterMediatorTypeVersionChanged extends LetterMediatorTypeA {

        override protected function setContent():void{
            var _local1:String = String(this.view.data.id);
            _letterVO = letterModel.getLetterById(_local1);
            var _local2:int = _letterVO.number;
            RepriseUtils.addLabel(this.view, "myriadProFont copy", languageModel.getTextByKey((("letter_" + _local2) + "_description")));
            RepriseUtils.addLabel(this.view, "showcardGothicFontOutline newVersionHeader", languageModel.getTextByKey((("letter_" + _local2) + "_header")));
            addLabelButton((("letter_" + _letterVO.number) + "_button_label"));
            var _local3:ClipComponent = RepriseUtils.addClipComponent(this.view, "signatureClip", AssetsLibrary.getMovieClip("signature"));
            this.view.addCSSClass(("letter" + _local2));
            MovieClip(_local3.clip).gotoAndStop(environmentModel.language);
        }
        private function get view():LetterPopupTypeVersionChanged{
            return ((viewComponent as LetterPopupTypeVersionChanged));
        }

    }
}//package net.wooga.pets.views 
